@import "./data";
@import "./color";
@import "./mixin";

.login_header {
    width: $login_center;
    margin: 0 auto;
    height: 100px;
    .logo {
        float: left;
        width: 190px;
        height: 100px;
        margin-right: 10px;
        img {
            width: 190px;
            height: 60px;
            margin-top: 20px;
            display: block;
        }
    }
    .login_right_header {
        float: right;
        width: 770px;
        .hint {
            font-size: 12px;
            color: #333;
            background: #fefff1;
            border: 1px solid #fecd66;
            line-height: 16px;
            height: 16px;
            padding: 4px 6px;
            margin-top: 40px;
            p {
                margin: 0;
                a {
                    color: rgb(255, 102, 0);
                }
            }
        }
        .opinion {
            width: 148px;
            height: 18px;
            float: right;
            font-size: 12px;
            margin-top: 8px;
            &:hover > span {
                color: $nav_import_color;
                cursor: pointer;
            }
        }
    }
}

.login_main {
    height: 570px;
    background: url(../img/login_main_bg.jpg) center no-repeat;
    .login_center {
        width: $login_center;
        margin: 0 auto;
        .click_index {
            display: block;
            width: 570px;
            height: 570px;
            float: left;
        }
        .login_form {
            float: right;
            position: relative;
            width: 360px;
            margin-top: 50px;
            background: #fff;
            box-shadow: 0 0 2px #ececec;
            .login_form_header {
                height: 50px;
                line-height: 20px;
                font-size: 16px;
                border-bottom: 1px solid #eee;
                // overflow: hidden;
                .btn_list {
                    position: relative;
                    height: 50px;
                    // border-bottom: 1px solid #eee;
                    a {
                        display: block;
                        float: left;
                        width: 50%;
                        height: 50px;
                        line-height: 50px;
                        text-align: center;
                        font-size: 14px;
                        color: #333;
                        position: relative;

                        i {
                            display: none;
                            position: absolute;
                            width: 70px;
                            height: 4px;
                            background: #f60;
                            bottom: -1px;
                            left: 50%;
                            margin-left: -35px;
                        }
                        &.active {
                            color: $nav_import_color;
                            i {
                                display: block;
                            }
                        }
                    }
                    .boundry {
                        position: absolute;
                        left: 50%;
                        top: 15px;
                        font-size: 14px;
                        color: #eee;
                    }
                }
            }
            .content_list {
                padding-top: 30px;
                text-align: center;
                position: relative;
                .box {
                    width: 360px;
                    // height: 160px;
                    display: none;
                    &.active {
                        display: block;
                    }
                    .code {
                        height: 156px;
                        padding: 20px 34px 0;
                        position: relative;
                        margin-bottom: 17px;
                        transition: all 0.5s;

                        .slide_code {
                            width: 141px;
                            height: 141px;
                            position: absolute;
                            transition: all 0.5s;
                            left: 50%;
                            margin-left: -70.5px;
                        }

                        &:hover .slide_code {
                            transform: translateX(-76px);
                        }
                        &:hover .node_img {
                            opacity: 1;
                        }
                        .node_img {
                            opacity: 0;
                            transition: all 0.5s;
                            position: absolute;
                            top: -20px;
                            right: 34px;
                            width: 133px;
                            height: 200px;
                        }
                    }
                    .code_word {
                        margin-bottom: 7px;
                        text-align: center;
                        i {
                            margin-right: 6px;
                            position: relative;
                            top: 2px;
                            font-size: 16px;
                        }
                        span {
                            font-size: 12px;
                            color: #333;
                            a {
                                font-size: 12px;
                                display: inline;
                                width: 71px;
                                height: 16px;
                                float: none;
                                color: $nav_import_color;
                                &:hover {
                                    text-decoration: underline;
                                }
                            }
                        }
                    }
                    .jump_register {
                        text-align: center;
                        margin: 12px 0 35px;
                        a {
                            display: inline;
                            float: none;
                            font-size: 12px;
                            color: $nav_import_color;
                            &:hover {
                                text-decoration: underline;
                            }
                        }
                    }
                    .error_prompt {
                        position: absolute;
                        left: 24px;
                        display: none;
                        padding: 2px 10px;
                        font-size: 12px;
                        width: 290px;
                        color: #323232;
                        background: #fff0f0;
                        border: 1px solid #ff3c3c;
                        line-height: 40px;
                        margin: 8px auto;
                        height: 18px;
                        margin-top: -30px;
                        &.active{
                            display: block;
                        }
                        .error_blank {
                            // display: none;
                            font-size: 12px;
                            color: #333;
                            position: relative;
                            height: 20px;
                            line-height: 17px;
                            text-align: left;
                            // text-indent: 20px;
                            i {
                                position: absolute;
                                display: block;
                                width: 16px;
                                height: 16px;
                                left: 0;
                                text-align: center;
                                line-height: 16px;
                                color: #ff3c3c;
                                top: 2px;
                            }
                            span {
                                display: float;
                                margin-left: 20px;
                            }
                        }
                    }

                    .uname_inp {
                        position: relative;
                        clear: both;
                        margin-top: 8px;
                        margin-bottom: 20px;
                        .username {
                            width: 312px;
                            position: relative;
                            border: 1px solid #ddd;
                            color: #999;
                            padding: 0 32px 0 36px;
                            height: 36px;
                            overflow: hidden;
                            box-sizing: border-box;
                            line-height: 36px;
                            padding: 0 32px 0 36px;
                            outline: none;
                        }
                        i {
                            position: absolute;
                            color: #ccc;
                            font-size: 20px;
                        }
                        .start_icon {
                            left: 34px;
                            top: 7px;
                        }
                        .end_icon {
                            right: 34px;
                            top: 7px;
                        }
                        ::weibkit-input-placeholder {
                            color: #ccc;
                        }
                    }
                    .upwd_inp {
                        position: relative;
                        clear: both;
                        margin-bottom: 20px;
                        margin-top: 8px;
                        .password {
                            width: 312px;
                            position: relative;
                            border: 1px solid #ddd;
                            color: #999;
                            padding: 0 32px 0 36px;
                            height: 36px;
                            overflow: hidden;
                            box-sizing: border-box;
                            line-height: 36px;
                            padding: 0 32px 0 36px;
                            outline: none;
                        }
                        i {
                            position: absolute;
                            color: #ccc;
                            font-size: 20px;
                        }
                        .start_icon {
                            left: 34px;
                            top: 7px;
                        }
                        .end_icon {
                            right: 34px;
                            top: 7px;
                        }
                        ::weibkit-input-placeholder {
                            color: #ccc;
                        }
                    }
                    .validation_msg {
                        height: 35px;
                        margin-bottom: 5px;
                        padding: 0 26px;
                        padding-top: 10px;
                        .val_msg_left {
                            float: left;
                            width: 102px;
                            height: 35px;
                            text-align: left;
                            i {
                                font-size: 14px;

                            }
                            a {
                                color: #333;
                                font-size: 12px;
                                &:hover {
                                    color: $nav_import_color;
                                    cursor: pointer;
                                }
                            }
                        }
                        .val_msg_right{
                            float: right;
                            font-size: 12px;
                            &:hover>span{
                                color: $nav_import_color;
                                text-decoration: underline;
                                cursor: pointer;
                            }
                        }
                    }
                    .login_btn{
                        display: block;
                        width: 310px;
                        line-height: 40px;
                        margin: 0 auto;
                        background: #f60;
                        border-radius: 2px;
                        font-size: 20px;
                        font-weight: 700;
                        text-align: center;
                        color: #fff;
                    }
                }
            }
            .login_footer {
                position: relative;
                width: 310px;
                margin: 0 auto;
                border-top: 1px solid #ddd;
                padding: 19px 0 17px;
                .footer_title {
                    position: absolute;
                    top: -9px;
                    left: 50%;
                    margin-left: -64px;
                    color: #999;
                    width: 128px;
                    background: #fff;
                    text-align: center;
                    font-size: 12px;
                }
                .footer_cons {
                    width: 310px;
                    margin: 0 auto;
                    height: 16px;
                    li {
                        float: left;
                        height: 16px;
                        max-width: 73px;
                        line-height: 16px;
                        position: relative;
                        margin: 0 6px;
                        i {
                            font-size: 14px;
                        }
                        a {
                            padding: 0 7px;
                            color: #333;
                            font-size: 12px;
                            display: inline;
                            float: none;
                        }
                        span {
                            position: absolute;
                            font-size: 12px;
                            padding: 0 3px;
                            color: #eee;
                        }
                    }
                }
            }
        }
    }
}
